package com.ruoyi.order.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品信息对象 mes_order_prod
 * 
 * @author ruoyi
 * @date 2025-06-25
 */
public class MesOrderProd extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产品标识 */
    private Long productId;

    /** 产品线 */
    @Excel(name = "产品线")
    private String lineNumber;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 产品编号 */
    @Excel(name = "产品编号")
    private String partNumber;

    /** 订单标识 */
    @Excel(name = "订单标识")
    private Long orderId;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderNumber;

    /** 产品型号 */
    @Excel(name = "产品型号")
    private String typeNumber;

    /** 产品备注 */
    @Excel(name = "产品备注")
    private String comments;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer deleted;

    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setLineNumber(String lineNumber) 
    {
        this.lineNumber = lineNumber;
    }

    public String getLineNumber() 
    {
        return lineNumber;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setPartNumber(String partNumber) 
    {
        this.partNumber = partNumber;
    }

    public String getPartNumber() 
    {
        return partNumber;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setOrderNumber(String orderNumber) 
    {
        this.orderNumber = orderNumber;
    }

    public String getOrderNumber() 
    {
        return orderNumber;
    }
    public void setTypeNumber(String typeNumber) 
    {
        this.typeNumber = typeNumber;
    }

    public String getTypeNumber() 
    {
        return typeNumber;
    }
    public void setComments(String comments) 
    {
        this.comments = comments;
    }

    public String getComments() 
    {
        return comments;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productId", getProductId())
            .append("lineNumber", getLineNumber())
            .append("productName", getProductName())
            .append("partNumber", getPartNumber())
            .append("orderId", getOrderId())
            .append("orderNumber", getOrderNumber())
            .append("typeNumber", getTypeNumber())
            .append("comments", getComments())
            .append("creator", getCreator())
            .append("createTime", getCreateTime())
            .append("updater", getUpdater())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .append("deleted", getDeleted())
            .toString();
    }
}
